home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMTEX / SOURCES1 / !TeX / texmf / source / armTeX / Extras / makefile next >
Encoding:
Makefile  |  1998-05-28  |  713 b   |  38 lines

  1. # Makefile for all the little utilities here
  2.  
  3. CC    = cc
  4. CFLAGS    = -depend !Depend -throwback -fah
  5. CPPFLAGS= -IC:
  6.  
  7. LINK    = drlink -o $@
  8.  
  9. FIXLIBS    = -lib OSLib:o.OSLib C:o.stubs
  10.  
  11. .SUFFIXES: .o .c
  12.  
  13. .c.o:;    $(CC) -c $(CFLAGS) -o $@ $<
  14.  
  15. # Pseudo-targets:
  16. install: fcat whichslot newtypes
  17.     squeeze fcat texsrc:bin.fcat
  18.     squeeze whichslot texsrc:bin.whichslot
  19.     squeeze newtypes texsrc:bin.newtypes
  20.  
  21. # Targets:
  22. fcat: fcat.o
  23.     $(LINK) fcat.o $(FIXLIBS)
  24.  
  25. whichslot: whichslot.o
  26.     $(LINK) whichslot.o $(FIXLIBS)
  27.  
  28. newtypes: newtypes.o
  29.     $(LINK) newtypes.o $(FIXLIBS)
  30.  
  31. # Dynamic dependencies:
  32. o.newtypes:    c.newtypes
  33. o.newtypes:    OS:h.OSFile
  34. o.newtypes:    OS:h.types
  35. o.newtypes:    OS:h.os
  36. o.newtypes:    OS:h.fileswitch
  37. o.newtypes:    OS:h.OSGBPB
  38.